package com.aggregate.pay.pingan.bean;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * 城市编码接口响应data参数的item对象（城市详情），需要将CommonResult对象的属性data解密并转换成该对象
 * @author Moyq5
 * @date 2017年6月25日
 */
public class CityListResultItem {

	/**
	 * 城市编码cityid，数字与字母的级合，必填，6
	 */
	@JsonProperty("id")
	private String cityId;
	
	/**
	 * 省份，必填，30
	 */
	@JsonProperty("p")
	private String province;
	
	/**
	 * 城市，必填，30
	 */
	@JsonProperty("c")
	private String city;

	/**
	 * 县区，必填，30
	 */
	@JsonProperty("y")
	private String county;

	public String getCityId() {
		return cityId;
	}

	public void setCityId(String cityId) {
		this.cityId = cityId;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getCounty() {
		return county;
	}

	public void setCounty(String county) {
		this.county = county;
	}

	@Override
	public String toString() {
		return "CityListResultItem [cityId=" + cityId + ", province=" + province + ", city=" + city + ", county="
				+ county + "]";
	}

}
